package tr.helper.repository.table;

import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import tr.helper.repository.annotation.DbFiled;
import tr.helper.repository.annotation.Table;

/**
 * tr-service
 *
 * @author MrYe
 * @date 2022-01-12 18:28
 */
@Table
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class User {

    @DbFiled(value = "id", primary = true)
    private Long id;
    private Long parentId;
    private BigDecimal balanceW;
    private BigDecimal balanceU;
    private String username;
    private String password;
    private String master;
    private String cookie;
    private String sec;
    private String token;
    private Date tokenTime;

}
